package com.jf.cloud.api.user.feign;

import com.jf.cloud.api.user.dto.ShopCustomerReqDTO;
import com.jf.cloud.common.feign.FeignInsideAuthConfig;
import com.jf.cloud.common.order.dto.OrderDTO;
import com.jf.cloud.common.order.vo.ShopCartOrderMergerVO;
import com.jf.cloud.common.order.vo.ShopCartOrderVO;
import com.jf.cloud.common.response.ServerResponseEntity;
import io.swagger.v3.oas.annotations.parameters.RequestBody;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * 店铺客户
 * @author: zsm
 * @date: 2023/1/15 16:44
 */
@FeignClient(value = "jfcloud-user",contextId = "shopCustomer")
public interface ShopCustomerFeignClient {
    /**
     *
     */
    @PostMapping(value = FeignInsideAuthConfig.FEIGN_URL_PREFIX + "/insider/shopCustomer/saveBatchByOrders")
    ServerResponseEntity<Void> saveBatchByOrders(@RequestBody ShopCustomerReqDTO shopCustomerReqDTO);
}
